From 6b0674739461e1600b9656e18690419c54ae4a51 Mon Sep 17 00:00:00 2001 From: Jimi Xenidis Date: Wed, 17 Jan 2007 19:37:20 -0500 Subject: [PATCH] [TOOLS][POWERPC] fixes for the prose builder. Signed-off-by: Maria Butrico Signed-off-by: Jimi Xenidis --HG-- extra : transplant_source : %C1e%86%00%05%25%F9%D9%DF%BB%E36%D9%D4X%DD%08%B4J%0E --- tools/python/xen/lowlevel/xc/xc.c | 2 +- tools/python/xen/xend/image.py | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/tools/python/xen/lowlevel/xc/xc.c b/tools/python/xen/lowlevel/xc/xc.c index 6f3e643a6a..371b83a94e 100644 --- a/tools/python/xen/lowlevel/xc/xc.c +++ b/tools/python/xen/lowlevel/xc/xc.c @@ -951,7 +951,7 @@ static PyObject *pyxc_prose_build(XcObject *self, int unused; static char *kwd_list[] = { "dom", "store_evtchn", - "console_evtchn", "image", + "console_evtchn", "image", "memsize", /* optional */ "ramdisk", "cmdline", "flags", "features", "arch_args", NULL }; diff --git a/tools/python/xen/xend/image.py b/tools/python/xen/xend/image.py index 650c449415..8b94e40487 100644 --- a/tools/python/xen/xend/image.py +++ b/tools/python/xen/xend/image.py @@ -260,14 +260,10 @@ class PPC_LinuxImageHandler(LinuxImageHandler): return max(maxmem_kb / 64, shadow_mem_kb) -class PPC_ProseImageHandler(LinuxImageHandler): +class PPC_ProseImageHandler(PPC_LinuxImageHandler): ostype = "prose" - def configure(self, imageConfig, deviceConfig): - LinuxImageHandler.configure(self, imageConfig, deviceConfig) - self.imageConfig = imageConfig - def buildDomain(self): store_evtchn = self.vm.getStorePort() console_evtchn = self.vm.getConsolePort() -- 2.30.2